<!-- INCLUDE overall_header.html -->
<script src="js/calendar.js"></script>
<form action="{S_POST_ACTION}" method="post" name="postform"{S_FORM_ENCTYPE}>

<table class="tablebg" width="100%" cellspacing="1">
<tr>
	<th colspan="2"><b>{L_ADD_EVENT}</b></th>
</tr>

<!-- IF ERROR -->
	<tr>
		<td class="row2" colspan="2" align="center"><span class="genmed error">{ERROR}</span></td>
	</tr>
<!-- ENDIF -->

<!-- IF S_EDIT -->
	<tr>
		<td class="row1"><b class="genmed">{L_DELETE_EVENT}:</b></td>
		<td class="row2"><input type="checkbox" class="radio" value="1" name="delete" /> <span class="gensmall">[ {L_DELETE_EVENT_WARN} ]</span></td>
	</tr>
<!-- ENDIF -->
<tr>
	<td class="row1" width="22%"><b class="genmed">{L_EVENT_NAME}:</b></td>
	<td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="name" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" /></td>
</tr>
<tr>
	<td class="row1" width="22%"><b class="genmed">{L_EVENT_START}:</b></td>
	<td class="row2" width="78%">
		Date:<input class="post" type="text" name="date" id="date" size="10" maxlength="10" tabindex="3" value="{DATE_IN}" readonly="readonly" onfocus="date_show(this);" onclick="event.cancelBubble=true;date_show(this);"/>
		Time:<input class="post" type="text" name="time" id="time" size="10" maxlength="10" tabindex="4" value="{TIME_IN}" readonly="readonly" onfocus="time_show(this);" onclick="event.cancelBubble=true;time_show(this);"/>
	</td>
</tr>
<tr>
	<td class="row1" width="22%"><b class="genmed">{L_GROUPS}:</b><br>Use CTR to select more than 1 group</td>
	<td class="row2" width="78%">
		<select name="group[]" class="input" size="{NUM_GROUPS}" multiple="multiple" style="overflow:hidden;" >
      	<!-- BEGIN group_row -->
         	<option value="{group_row.GROUP_ID}" {group_row.GROUP_SELECT}>{group_row.GROUP_NAME}</option>
      	<!-- END group_row -->
      	</select>
<tr>
	<td class="row1" valign="top"><b class="genmed">{L_EVENT_DESC}:</b><br /><span class="gensmall">{L_EVENT_DESC_EXPLAIN}&nbsp;</span><br /><br />
	<!-- IF S_SMILIES_ALLOWED -->
		<table width="100%" cellspacing="5" cellpadding="0" border="0" align="center">
		<tr>
			<td class="gensmall" align="center"><b>{L_SMILIES}</b></td>
		</tr>
		<tr>
			<td align="center">
				<!-- BEGIN smiley -->
					<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;" style="line-height: 20px;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" hspace="2" vspace="2" /></a>
				<!-- END smiley -->
			</td>
		</tr>

		</table>
	<!-- ENDIF -->
	</td>
	<td class="row2" valign="top">
		<script type="text/javascript">
			<!--
			var form_name = 'postform';
			var text_name = 'message';
			//-->
		</script>

		<table width="100%" cellspacing="0" cellpadding="0" border="0">
		<!-- INCLUDE posting_buttons.html -->
		<tr>
			<td valign="top" style="width: 100%;"><textarea name="message" rows="15" cols="76" tabindex="5" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" style="width: 98%;">{MESSAGE}</textarea></td>
			<!-- IF S_BBCODE_ALLOWED -->
			<td width="80" align="center" valign="top">
				<script type="text/javascript">
				<!--
					colorPalette('v', 7, 6)
				//-->
				</script>
			</td>
			<!-- ENDIF -->
	 	</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="row1" valign="top"><b class="genmed">{L_OPTIONS}:</b><br />
		<table cellspacing="2" cellpadding="0" border="0">
		<tr>
			<td class="gensmall">{BBCODE_STATUS}</td>
		</tr>
		<tr>
			<td class="gensmall">{URL_STATUS}</td>
		</tr>
		<tr>
			<td class="gensmall">{SMILIES_STATUS}</td>
		</tr>
		</table>
	</td>
	<td class="row2">
		<table cellpadding="1">
			<tr>
				<td><input type="checkbox" class="radio" name="disable_bbcode"{S_BBCODE_CHECKED} /></td>
				<td class="gen">{L_DISABLE_BBCODE}</td>
			</tr>		
			<tr>
				<td><input type="checkbox" class="radio" name="disable_smilies"{S_SMILIES_CHECKED} /></td>
				<td class="gen">{L_DISABLE_SMILIES}</td>
			</tr>		
			<tr>
				<td><input type="checkbox" class="radio" name="disable_magic_url"{S_MAGIC_URL_CHECKED} /></td>
				<td class="gen">{L_DISABLE_MAGIC_URL}</td>
			</tr>
		</table>
	</td>
</tr>
<tr>
	<td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}
		<!-- IF S_EDIT -->
			&nbsp; 
			<input class="btnmain" type="submit" accesskey="s" tabindex="11" name="post" value="{L_SUBMIT}" />
			<input type="hidden" name="edit" value="1">
		<!-- ELSE -->
			&nbsp; 
			<input class="btnmain" type="submit" accesskey="s" tabindex="11" name="post" value="{L_SUBMIT}" />
		<!-- ENDIF -->
			&nbsp; 
			<input class="btnlite" type="submit" accesskey="c" tabindex="14" name="cancel" value="{L_CANCEL}" />
	</td>
</tr>
</table>
</form>

<div id="time_java" onmouseout="" onmouseover="" style="display: none; position:absolute;">
<table style="border-collapse:collapse;background:#FFFFFF;border:1px solid #ABABAB;" cellpadding="2">
	<tr>
		<td>
			<select id="hrs" class="select" onchange="setH(this);" name="hrs">
			<option value="01">01</option>
			<option value="02">02</option>
			<option value="03">03</option>
			<option value="04">04</option>
			<option value="05">05</option>
			<option value="06">06</option>
			<option value="07">07</option>
			<option value="08">08</option>
			<option value="09">09</option>
			<option value="10">10</option>
			<option value="11">11</option>
			<option value="12">12</option>
			</select>
		</td>
		<td>
			<select id="mins" class="select" onchange="setM(this);" name="mins">
			<option value="00">00</option>
			<option value="05">05</option>
			<option value="10">10</option>
			<option value="15">15</option>
			<option value="20">20</option>
			<option value="25">25</option>
			<option value="30">30</option>
			<option value="35">35</option>
			<option value="40">40</option>
			<option value="45">45</option>
			<option value="50">50</option>
			<option value="55">55</option>
			</select>
		</td>
		<td>
			<select id="ampm" class="select" onchange="setAP(this);" name="ampm">
			<option value="AM">AM</option>
			<option value="PM">PM</option>
			</select>
		</td>
		<td onclick="time_close();">x</td>
	</tr>
</table>
</div>
<div id="date_java" style="display: none; position:absolute;">
<table id="calender" style="border-collapse:collapse;background:#FFFFFF;border:1px solid #ABABAB;" cellpadding="2">
	<tr>
		<td style="cursor:pointer;" onclick="prev_month();"><img src="images/arrowleftmonth.gif"></td>
		<td colspan="5" id="month_name" align="center" style="font:bold 13px Arial;"></td>
		<td align="right" style="cursor:pointer;" onclick="next_month();"><img src="images/arrowrightmonth.gif"></td>
	</tr>
	<tr>
		<td align=center style="background:#ABABAB;font:12px Arial">S</td>
		<td align=center style="background:#ABABAB;font:12px Arial">M</td>
		<td align=center style="background:#ABABAB;font:12px Arial">T</td>
		<td align=center style="background:#ABABAB;font:12px Arial">W</td>
		<td align=center style="background:#ABABAB;font:12px Arial">T</td>
		<td align=center style="background:#ABABAB;font:12px Arial">F</td>
		<td align=center style="background:#ABABAB;font:12px Arial">S</td>
	</tr>
	<tr>
		<td id="d1" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d2" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d3" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d4" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d5" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d6" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d7" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
	</tr>
	<tr>
		<td id="d8" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d9" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d10" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d11" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d12" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d13" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d14" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
	</tr>
	<tr>		
		<td id="d15" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d16" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d17" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d18" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d19" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d20" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d21" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
	</tr>
	<tr>
		<td id="d22" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d23" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d24" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d25" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d26" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d27" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d28" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
	</tr>
	<tr>
		<td id="d29" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d30" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d31" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d32" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d33" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d34" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d35" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
	</tr>
	<tr>
		<td id="d36" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d37" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d38" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d39" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d40" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d41" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
		<td id="d42" style="border: 1px;width: 18px; height: 18px;">&nbsp;</td>
	</tr>	
</table>
</div>
<!-- INCLUDE overall_footer.html -->

 








